package com.study.utils;

import java.text.SimpleDateFormat;
import java.util.Date;

public class MyLog {
    public void addLog(){
        SimpleDateFormat sdf= new SimpleDateFormat("yyyy-MM-dd HH-mm-ss");
        System.out.println("添加记录日志： CurrentTime=:"+sdf.format(new Date()) );
    }
    public void deleteLog(){
        SimpleDateFormat sdf= new SimpleDateFormat("yyyy-MM-dd HH-mm-ss");
        System.out.println("删除记录日志： CurrentTime=:"+sdf.format(new Date()) );
    }

}
